<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="header(nav,index)">
    <script type="text/javascript" src="/static/wap/js/jump.js"></script>
    <header class="header-box">
        <div class="logo_box flex-box"><a class="logo" href="/wap/index.html"></a>
            <div class="nav-search-box">
                <span class="text">产品</span>
                <span class="split"></span>
                <input id="searchBox" type="text" placeholder="输入关键字进行搜索">
                <span class="search_btn"></span>
            </div>
            <div class="nev-icon-box">
                <p></p>
                <p></p>
                <p></p>
            </div>
        </div>
        <nav class="nav-box">
            <a th:class="${(nav=='index')?'active':''}" href="/wap/index.html">首页</a>
            <a th:class="${(nav=='self')?'active':''}" href="/self.html">自营产品</a>
            <a th:class="${(nav=='agency')?'active':''}" href="/agency.html">合作品牌</a>
            <a th:class="${(nav=='about')?'active':''}" href="/about.html">公司简介</a>
            <a th:class="${(nav=='contact')?'active':''}" href="/contact.html">联系我们</a>
        </nav>
    </header>
</th:block>